Skip to content

Conversation

@shreyas-goenka
Copy link
Contributor

@shreyas-goenka shreyas-goenka commented Mar 6, 2025

Changes

Move the AccountClient reader and setter from the root package to libs/command.

Why

This allows us to read the account client set in the context in all CLI packages. This was not possible before because using root.AccountClient would often result in an import cycle.

This is a natural follow-up to #2440 and #2444.

Tests

Existing tests and one new unit test.

NO_CHANGELOG=true

@shreyas-goenka shreyas-goenka marked this pull request as ready for review March 6, 2025 18:56
@pietern pietern changed the title Move AccountClient to libs/command Move AccountClient to libs/command Mar 10, 2025
@shreyas-goenka shreyas-goenka added this pull request to the merge queue Mar 20, 2025
Merged via the queue into main with commit f52d8bd Mar 20, 2025
9 checks passed
@shreyas-goenka shreyas-goenka deleted the acc-command branch March 20, 2025 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants